import{c as t,b as n,M as s,p as a,q as l,N as p,z as _,_ as c}from"./framework-340c2a10.js";const i={class:"wrapper"},r={name:"FormDemo1"},m=t({...r,setup(d){let e=n({instance:null,labelPosition:"right",labelWidth:"180px",model:{name:"",status:""},formItems:[{prop:"name",label:"姓名",span:24,tip:"tip & 修改历史同在",tipPosition:"append",controlConfig:{type:"input"}},{prop:"status",label:"状态",span:24,controlConfig:{type:"select",options:[{label:"全部",value:"0"},{label:"正常",value:"1"},{label:"禁用",value:"2"}]}}]});return setTimeout(()=>{e.historyLog=`{
            "name": {
                 "old": "张三",
                 "new": "李四",
                 "message": "字段[name]值从[张三]变成[李四]"
            },
            "sex": {
                 "old": "15",
                 "new": "20",
                 "message": "字段[sex]值从[15]变成[20]"
            }
       }`},2e3),(f,u)=>{const o=s("g-form");return a(),l("div",i,[p(o,{config:_(e)},null,8,["config"])])}}});const v=c(m,[["__scopeId","data-v-e816ddf5"],["__file","demo5.vue"]]);export{v as default};
